<?php

namespace App\Api\Three;

use App\Api\ChannelApi;
use Monolog\Logger;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\RotatingFileHandler;

class A extends ChannelApi
{
    public function __construct()
    {
    }
    // 下单接口
    public  function orderSubmit($data)
    {
        return $this->returnMsg(200, '下单成功', ['order_id' => 1234]);
        return [1, 2];
    }
    public function checkOrder($data)
    {
        return $this->returnMsg(200, '效验失败');
    }
    public function queryOneOrder($array = [])
    {
        $data = [
            'id' => '',
            'sup_order' => '',
            'created_at' => date('Y-m-d H:i:s'),
            'order_desc' => '测试单子',
            'order_num' => '',
            // 'pagename' => $getData['订购产品']['产品名称'],
            'express_company' => '京东配送',
            'express_number' => '',
            'status' => 20,
            'iccid' => ''
        ];
        return $this->returnMsg(200, '查询成功', [$data]);
    }
}
